package com.zy.explore.design.patterns.observer.eventbus;

public class EventBusDemoTest {

    public static void main(String[] args) {
        EventListener eventListener = new EventListener();
        EventBusCenter.register(eventListener);
        EventBusCenter.post(new NotifyEvent("18054236735", "zyexplorj2ee@sina.com", "66666"));
    }
}
